package com.lzt.yijian.api.inter;

import com.lzt.yijian.bean.Movie;
import com.lzt.yijian.bean.WeatherEntity;

import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface ApiService {

    @GET("weather_mini")
    Observable<WeatherEntity> getMessage(@Query("City") String city);

    @GET("top250")
    Observable<Movie> getTopMovie(@Query("start") int start, @Query("count") int count);
}
